package com.edooteach.api.rao;

import java.util.Map;

import com.demo2do.core.entity.result.HttpResult;
import com.demo2do.core.http.HttpMethod;
import com.demo2do.core.http.annotation.Rao;
import com.demo2do.core.http.annotation.RaoBody;
import com.demo2do.core.http.annotation.RaoConfig;
import com.demo2do.core.http.annotation.RaoMapping;
import com.demo2do.core.http.annotation.RaoUrl;

@Rao
@RaoConfig(parse = true)
public interface WeappNoticeRao {
	
	/**
	 * 
	 * @param host
	 * @param params
	 * @return
	 */
	@RaoMapping(method = HttpMethod.POST)
	public HttpResult send(@RaoUrl String host, @RaoBody Map<String, Object> params);
}
